window: tie focus to surface state changes
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Apr 2020 21:21:01 +0000 (17:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Apr 2020 21:21:01 +0000 (17:21 -0400)
commit1f8e633fff233883afeeb6a0452967ae163250e7
treeb1b4d6f9bf8c49e64e465e931b91d3b387c07f75
parent6e6b4a851fcf1073e6ed242f4dab2b7a8a296435
window: tie focus to surface state changes

We don't get a focus-out on the event controller, when
the surface is losing keyboard focus, since we are not
moving our focus to some other widget, so we are never
unsetting the mnemonics-visible property. Do that in
response to surface state changes instead.
gtk/gtkwindow.c